package com.ff.cms.util;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.springframework.context.annotation.Configuration;

@Configuration
public class ObjListener implements ServletContextListener {

	public  void contextInitialized(ServletContextEvent sce) {
		
		ServletContext context = sce.getServletContext();
		
		context.setAttribute("path", context.getContextPath());
		
    }
	
}
